var fs = require('fs');
const readFile = require('util').promisify(fs.readFile);
async function read(filePath) { 
    try {
        const fr = await readFile(filePath,'utf-8');
        return fr
    } catch (err) {
        console.log('Error',err);
    }
 }

 module.exports = {
     read : read
 }